<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                template="/WEB-INF/templates/cadastro.xhtml">
    <ui:param name="pPageTitle" value="${label['unidade.titulo']}"/>
    <ui:param name="pManagedBean" value="#{unidadeView}"/>

    <ui:define name="pageBody">

        <h:outputText value="* ${label['unidade.descricao']} :" />
        <p:inputText value="#{unidadeView.unidade.nomUnid}" label="${label['unidade.descricao']}" 
                     required="true" size="50" style="text-transform: uppercase"
                     maxlength="100"/>
        
        <h:outputText value="* ${label['unidade.codigo']}: " />
        <p:inputMask value="#{unidadeView.unidade.codUni}" label="${label['unidade.codigo']}"
                     mask="9999999999" required="true" />
    </ui:define>


</ui:composition>
